package com.UnionPayCenter.entity;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @program: UnionPayCenter
 * @description: 白名单设置
 * @author BaoJF
 *
 */
@EqualsAndHashCode(callSuper = false)
@Data
@Table(name = "whitelist_set")
public class WhitelistSetEntity extends BaseEntity {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @ApiModelProperty(value = "编号")
    @Column(name = "set_id")
    private Integer setId;

    @Column(name = "shop_id")
    @ApiModelProperty(value = "对应店铺id")
    private Integer shopId;
    
    @Column(name = "level_id")
    @ApiModelProperty(value = "会员等级id")
    private Integer levelId;

    @Column(name = "dis_type_id")
    @ApiModelProperty(value = "优惠券类型id")
    private Integer disTypeId;
    
    @Column(name = "count")
    @ApiModelProperty(value = "优惠券张数")
    private Integer count;
}
